package com.common.util.weiXinPay;



public class Constants {
	public static String appid = "wx0a2c4f75fc857784";
	// 第三方用户唯一凭证密钥
	public static String appsecret = "8fd681c62d509361380afe0c5f4b0a27";
	// 商户mch_id
	public static String mch_id = "1496370882";
	// 商户key
	public static String key = "435f1c35b497a942540636ae97ab5d39";
	//商户body
	public static String body = "巢小筑-订单支付";
	/**
	 * 根据code构造获取网页授权获取access_token的Url
	 * 
	 * @param appSec
	 * @param code
	 * @return
	 */
	public static String RESUSERURL = "https://api.weixin.qq.com/sns/userinfo";

	/**
	 * 根据accesstoken获取jsapi_ticket
	 * @param accesstoken
	 * @param url
	 * @return
	 */
	public static String getjsapiTicketUrl(String accesstoken,String url){
		
		return "https://api.weixin.qq.com/cgi-bin/ticket/getticket?access_token="+accesstoken+"&type=jsapi";
	}

	/**
	 * 获取token链接
	 */
	public static String RESTOKENURL = "https://api.weixin.qq.com/sns/oauth2/access_token";

	public static String subscribe_content = "自动关注";

	/**
	 * 获取token链接
	 */
	public static String TOKENURL = "https://api.weixin.qq.com/cgi-bin/token";


}
